WPStaging\Framework\BackgroundProcessing\Queue D

Total Complexity 135
Dependencies 11
Dependents 9
Total lines 1,449
Lines of code 675
Logical lines of code 398
Comment lines 483
Methods 43
Properties 8

Methods 43

Method Rating Maintainability Complexity Lines of code
hydrateActionCaches()
A
43 9 44
getNextAvailable()
A
43 8 48
count()
A
48 7 32
enqueueAction()
A
44 6 46
checkTable()
S
57 7 16
updateActionFields()
S
49 5 29
updateTable()
S
51 5 28
updateActionStatus()
S
49 5 27
getLatestUpdatedAction()
S
52 5 24
buildAssignmentsList()
S
54 5 20
cleanup()
S
48 4 34
cancelJob()
S
48 4 32
markDanglingAs()
S
49 4 31
getAction()
S
60 5 13
cleanupActionsByScheduleId()
S
50 4 27
purgeQueueTable()
S
52 4 25
countActionsByScheduleId()
S
52 4 24
fetchActionRow()
S
59 4 14
maybeAddUpgradeTableQueryForResponseField()
S
62 4 11
invalidateActionCachesByJobId()
S
67 3 7
getActionField()
S
67 3 8
getWhereConditionByScheduleIdAndStatus()
S
60 2 12
getCreateTableSql()
S
59 1 18
getBreakpointDate()
S
65 2 9
maybeAddResponseColumnToTable()
S
65 2 9
unlockQueueTable()
S
72 2 6
__construct()
S
68 2 7
maybeFireAjaxAction()
S
71 2 6
lastError()
S
71 2 6
tableExists()
S
65 2 9
escapeInterval()
S
72 1 5
getCleanupBreakpointDate()
S
80 1 3
getSupportedActionStatuses()
S
71 1 7
dropTable()
S
68 1 7
convertDbRowToData()
S
80 1 3
updateTableVersionOption()
S
80 1 3
setUnlocker()
S
77 1 4
getTableName()
S
76 1 4
getQueryToAddResponseColumnToTable()
S
79 1 3
addUpgradeQueries()
S
72 1 5
getLatestTableVersion()
S
81 1 3
getCurrentTableVersion()
S
79 1 3
getDanglingBreakpointDate()
S
80 1 3